package LinesCraft;

public class Player {	
	static int health=20;
	static int hunger=20;
	
	/*void Heal(int addHP){				//nope, no idea why I created this... why did I name it Heal? why not eat? i will keep it here
	 * 									  in safety, and create another, eat method.(WTF? I never name methods with capital letter.. WTF?
		if(health==20){
			System.out.println("Your health is already full.");
		}else{
		health=health+addHP;
		}
		if(health>20){
			health=health-(health-20);
		}
	}*/
	
	void eat(Items item){
		if(health==20){
			System.out.println("Your health is already full.");
		}else{
		health=health+this.health;
		}
		if(health>20){
			health=health-(health-20);
		}
	}
	
	void chopTree(){	// I remember i had some reason to begin this method, but currently I don't remember the reason.
		
	}
	
	void hungry(){	//getting hungry. This should be activated like every time X "time" passes.
		
	}
}

